import request from "@/util/request"
export default {
    findallstudents(){//查询所有学生
        return request({
            url:"student/list",
            method:"get"
        })
    },
    findbypage(page,pagesize){//分页查询
        return request({
            url:`student/findbypage/${page}/${pagesize}`,
            method:"get",

        })
    },
    search(page,pagesize,data){//分页条件查询
        return request({
            url:`student/search/${page}/${pagesize}`,
            method:"post",
            data
        })
    }
}